package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallSpecificAttributeDao;
import com.appkubes.mall.core.entity.MallSpecificAttribute;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallSpecificAttributeService extends AbstractBaseService<BaseMallSpecificAttributeDao, MallSpecificAttribute> {

    MallSpecificAttribute getOneByEntity(MallSpecificAttribute entity);

    List<MallSpecificAttribute> selectListByEntity(MallSpecificAttribute entity);

    IPage<MallSpecificAttribute> selectPageByEntity(IPage<MallSpecificAttribute> page);
    IPage<MallSpecificAttribute> selectPageByEntity(PageVO pageVO);

    IPage<MallSpecificAttribute> selectPageByEntity(MallSpecificAttribute entity, IPage<MallSpecificAttribute> page);
    IPage<MallSpecificAttribute> selectPageByEntity(MallSpecificAttribute entity, PageVO pageVO);

    IPage<MallSpecificAttribute> selectPageByEntity(MallSpecificAttribute entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallSpecificAttribute entity);
}
